package com.rjpacket.supernews.app;

/**
 * Created by WIN7 on 2015/3/10.
 */
public class Constants {
    //段子列表的接口
    public static final String DUANZI_LIST_URL = "http://appapi.very-news.com/moreNews2.m?count=20&vcode=16299&pull_type=down&width=480&udid=073CC368CD437982D321EE88ED3EB3AF&stime=0&terminal=android&cpid=bnf1377_10890_001&uid=&client=newsapp&channel=jokes";

    //段子详情的接口
    public static final String DUANZI_DETAIL_URL = "http://appapi.very-news.com/newsContent.m?vcode=16299&udid=073CC368CD437982D321EE88ED3EB3AF&terminal=android&cpid=bnf1377_10890_001&uid=&client=newsapp&db_source=1&nid=";

    //段子分享的接口
    public static final String DUANZI_SHARE_URL = "http://appapi.very-news.com/newsShow.m?&db_source=1&nid=";

    //娱乐新闻列表的接口
    public static final String YULE_LIST_URL = "http://appapi.very-news.com/moreNews2.m?count=6&vcode=16299&pull_type=down&width=480&udid=073CC368CD437982D321EE88ED3EB3AF&stime=1425823843590&terminal=android&cpid=bnf1377_10890_001&uid=&client=newsapp&channel=entertainment&sequence=0";

    //娱乐具体条目进入详情的接口  需要在后面添加nid
    public static final String YULE_ITEM_URL = "http://appapi.very-news.com/newsContent.m?vcode=16299&udid=073CC368CD437982D321EE88ED3EB3AF&terminal=android&cpid=bnf1377_10890_001&uid=&client=newsapp&db_source=1&nid=";

    //娱乐缩略图的网址 需要在后面添加解析到的img_url
    public static final String YULE_IMG_URL = "http://imgshow.news.easou.name/image.m?clearCache=0&key=";

    //所有新闻的接口的前缀
    public static final String APP_NEWS_API = "http://appapi.very-news.com/";
    //图片页网址拼接
    public static final String IMAGE_RECYCLE_URL_2 = "&channel=imgslist&sequence=";
    public static final String IMAGE_RECYCLE_URL_1 = "http://appapi.very-news.com/moreNews2.m?count=20&vcode=16299&width=480&udid=073CC368CD437982D321EE88ED3EB3AF&terminal=android&cpid=bnf1377_10890_001&uid=&pullType=down&client=newsapp&picType=";
    //教程页
    public static final String TUTORIAL_ID = "layoutId";
    //扉页
    public static final String SP_APP = "share";

    public static final String SP_KEY_TUTORIAL_SHOW = "tutorial.show";


    //推荐
    public static final String APP_RECOMMEND = "recommend";
    //热点
    public static final String APP_HOT_SPOT = "hotspot";
    //社会
    public static final String APP_SOCIETY = "society";
    //朋友圈
    public static final String APP_FRIENDS = "friends";
    //旅游
    public static final String APP_TRAVELING = "traveling";
    //娱乐
    public static final String APP_ENTERTAINMENT = "entertainment";

    //下拉
    public static final String PULL_TYPE_UP = "up";
    //上拉
    public static final String PULL_TYPE_DOWN = "down";

    //搜索新闻的接口
    public static final String SEARCH_NEWS = "http://appapi.very-news.com/hotwords.m?vcode=16299&udid=073CC368CD437982D321EE88ED3EB3AF&terminal=android&cpid=bnf1377_10890_001&uid=&client=newsapp&page=";

    //输入字查询接口
    public static final String SEARCH_DETAIL_URL = "http://appapi.very-news.com/suggest.m?vcode=16299&udid=073CC368CD437982D321EE88ED3EB3AF&terminal=android&cpid=bnf1377_10890_001&uid=&client=newsapp&keywords=";

    //查询完查看详情
    public static final String SEARCH_DETAIL_URL_ENTER = "http://appapi.very-news.com/moreNews2.m?vcode=16299&udid=073CC368CD437982D321EE88ED3EB3AF&terminal=android&cpid=bnf1377_10890_001&uid=&client=newsapp&page=0&keywords=";

    public static final String BUNDLE_ARG = "nid";
}
